﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.Models.Program>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ETPOD: Delete <%= Model.ProgramName %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BreadcrumbContent" runat="server">
	<%= Html.ActionLink("Programmes management", "Index")%> &gt; <%= Model.ProgramName%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Delete Program</h1>

    <h2>Are you sure you want to delete this program?</h2>
    <fieldset id="prog_delete">
                
        <div class="display-field "><%= Html.Encode(Model.ProgramName) %></div>

    <% using (Html.BeginForm()) { %>
        <p class="enlaces">
		   <!-- <input type="submit" class="crear" value="Yes, I want to delete it" /> -->
            <a href="#" onclick="document.forms[0].submit()" >Yes, I want to delete it</a>
		    <%= Html.ActionLink("Back to programmes list", "Index") %>
        </p>
    <% } %>

    </fieldset>


</asp:Content>

